package de.slothsoft.wasbinich.core.database;

public interface LoginBean {

    /**
     * This method should call the Slothsoft OAuth2 server and get a request
     * token, showing some kind of GUI for the user to enter his / her
     * information. After that, the same token is used over and over.
     * 
     * @return
     */

    String getLoginToken() throws DatabaseException;

    boolean isLoggedIn();

    void logOut();
}
